package com.keba.lamp.complaint.service;

import com.keba.basic.base.service.SuperService;
import com.keba.lamp.complaint.entity.Agent;
import com.keba.lamp.complaint.enumeration.AgentTypeEnum;
import com.keba.lamp.complaint.vo.result.AgentResultVO;
import com.keba.lamp.complaint.vo.save.AgentSaveVO;
import com.keba.lamp.complaint.vo.update.AgentSummarizeUpdateVO;
import com.keba.lamp.complaint.vo.update.AgentUpdateVO;

import java.util.List;


/**
 * <p>
 * 业务接口
 * 代理人信息
 * </p>
 *
 * @author chaowu.wang
 * @date 2025-09-13 18:19:51
 * @create [2025-09-13 18:19:51] [chaowu.wang] [代码生成器生成]
 */
public interface AgentService extends SuperService<Long, Agent> {
    void save(List<AgentSaveVO> plaintffAgentSaveVOList, List<AgentSaveVO> defendantAgentSaveVOList, Long caseId);

    void update(List<AgentUpdateVO> plaintffAgentList, List<AgentUpdateVO> defendantAgentList, Long caseId);

    List<Agent> findByCaseId(Long caseId, Integer type);

    List<AgentResultVO> getResultByCaseId(Long caseId, AgentTypeEnum type);
    /**
     * 删除
     *
     * @param ids id
     * @return 是否成功
     */
    Boolean delete(List<Long> ids, String bizType);

    Boolean deleteByCaseIds(List<Long> caseIds, AgentTypeEnum type);

    boolean updateSummarizeInfo(AgentSummarizeUpdateVO agentSummarizeUpdateVO);
}


